package design.singleton;

/**
 * User: heihaier@xfuweng.com
 * Date: 2015/7/10
 * Time: 14:58
 */
public class SingleObject {

    private static SingleObject instance = new SingleObject();

    private SingleObject() {

    }

    public static SingleObject getInstance() {

        return instance;
    }

    public void showMessage() {

        System.out.println("singleObject");
    }
}
